package com.chunfeng.mypen.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chunfeng.mypen.entity.Topic;
import com.chunfeng.mypen.vo.TopicVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 题目Dao
 * @author: 小雷
 * @createTime: 2023-11-14 00:05:17
 */
@Mapper
public interface TopicDao extends BaseMapper<Topic> {
    //根据学科id修改学科
    void updateTopicSubjectId(@Param("ids") List<String> ids);

    //条件查询所有题目
    List<TopicVo> lookTopic(@Param("topic") Topic topic);
}
